<?php

namespace app\admin\model;

use think\Model;

class GoodsCategory extends Model
{
    protected $pk = 'cid';
    public function goods()
    {
        return $this->hasMany(Goods::class, 'cid', 'cid');
    }
}
